package com.check.bean;

import java.util.Objects;

/**
 * @description: Home页面里面listView的类
 * @Author: zyt
 */
public class FileItem {
    private String path;
    private String name;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        FileItem fileItem = (FileItem) o;
        return Objects.equals(name, fileItem.name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(name);
    }
}
